import request from '@/utils/request'

// 查询下注统计列表
export function listBetStatistics(query) {
  return request({
    url: '/system/betStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询下注统计详细
export function getBetStatistics(littleCommand) {
  return request({
    url: '/system/betStatistics/' + littleCommand,
    method: 'get'
  })
}

// 新增下注统计
export function addBetStatistics(data) {
  return request({
    url: '/system/betStatistics',
    method: 'post',
    data: data
  })
}

// 修改下注统计
export function updateBetStatistics(data) {
  return request({
    url: '/system/betStatistics',
    method: 'put',
    data: data
  })
}

// 删除下注统计
export function delBetStatistics(littleCommand) {
  return request({
    url: '/system/betStatistics/' + littleCommand,
    method: 'delete'
  })
}

// 导出下注统计
export function exportBetStatistics(query) {
  return request({
    url: '/system/betStatistics/export',
    method: 'get',
    params: query
  })
}